package com.xuelangyun;

import com.xuelangyun.service.TypeService;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Version 1.0
 * @Author:xinyan
 * @Date:2022/4/15
 * @Content:
 */
public class Start01 {
  public static void main(String[] args) {
    //
    ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("spring01.xml");
    TypeService typeService = (TypeService) classPathXmlApplicationContext.getBean("typeService");
    typeService.test();
  }
}
